{% extends 'front/front_signbase.html' %}
{% from 'common/_macro.html'import static %}

{% block title %}

{% endblock %}
{% block head %}
    <script src="{{ static('front/js/front_signup.js') }}"></script>
{% endblock %}
{% block page_title %}
论坛注册
{% endblock %}
{% block body %}
    <a href="{{ url_for('front.signin') }}">已有账号？直接登录</a>
<div class="sign-box">
    <div class="form-group">
        <div class="input-group">
            <input type="text" class="form-control" name="telephone" placeholder="电话号码">
            <span class="input-group-btn">
                <button id="send-sms-captcha" class="btn btn-default">发送验证码</button>
            </span>
        </div>
    </div>
    <div class="form-group">
        <input type="text" class="form-control" name="sms_captcha" placeholder="验证码">
    </div>
    <div class="form-group">
        <input type="text" class="form-control" name="username" placeholder="用户名">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" name="password1" placeholder="密码">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" name="password2" placeholder="确认密码">
    </div>
    <div class="form-group">
        <div class="input-group">
            <input type="text" class="form-control" name="graph_captcha" placeholder="图形验证码">
            <span class="input-group-addon captcha-addon">
                <img class="captcha-img" id="captcha-img" src="{{ url_for('common.graph_captcha') }}" alt="">
            </span>
        </div>
    </div>
    <div class="form-group">
        <button class="btn btn-primary btn-block" id="regist-btn">立即注册</button>
    </div>

</div>
{% endblock %}
